package com.fss.shopman.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fss.common.annotation.Excel;
import com.fss.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 shop
 * 
 * @author ruoyi
 * @date 2024-12-02
 */
public class Shopman extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺ID */
    private Long shopId;

    /** 店主用户ID，关联sys_user表 */
    @Excel(name = "店主用户ID，关联sys_user表")
    private Long userId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 店铺描述 */
    @Excel(name = "店铺描述")
    private String shopDescription;

    /** 店铺logo URL */
    @Excel(name = "店铺logo URL")
    private String shopLogo;

    /** 店铺状态（0正常 1关闭） */
    @Excel(name = "店铺状态", readConverterExp = "0=正常,1=关闭")
    private String shopStatus;

    /** 店铺等级 */
    @Excel(name = "店铺等级")
    private Long shopLevel;

    /** 店铺评分（0-5分，保留两位小数） */
    @Excel(name = "店铺评分", readConverterExp = "0=-5分，保留两位小数")
    private BigDecimal shopRating;

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopDescription(String shopDescription) 
    {
        this.shopDescription = shopDescription;
    }

    public String getShopDescription() 
    {
        return shopDescription;
    }
    public void setShopLogo(String shopLogo) 
    {
        this.shopLogo = shopLogo;
    }

    public String getShopLogo() 
    {
        return shopLogo;
    }
    public void setShopStatus(String shopStatus) 
    {
        this.shopStatus = shopStatus;
    }

    public String getShopStatus() 
    {
        return shopStatus;
    }
    public void setShopLevel(Long shopLevel) 
    {
        this.shopLevel = shopLevel;
    }

    public Long getShopLevel() 
    {
        return shopLevel;
    }
    public void setShopRating(BigDecimal shopRating) 
    {
        this.shopRating = shopRating;
    }

    public BigDecimal getShopRating() 
    {
        return shopRating;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("userId", getUserId())
            .append("shopName", getShopName())
            .append("shopDescription", getShopDescription())
            .append("shopLogo", getShopLogo())
            .append("shopStatus", getShopStatus())
            .append("shopLevel", getShopLevel())
            .append("shopRating", getShopRating())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
